home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 40
/
Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso
/
Aminet
/
util
/
cdity
/
ModeProSrc.lha
/
Prefs
/
IsOpen.c
< prev
next >
Wrap
C/C++ Source or Header
|
1999-01-23
|
470b
|
27 lines
#include "/modepro.h"
/*
// things to do if MPP is already running
void PrefsInit(void)
{
struct MsgPort *rp;
if(rp=CreateMsgPort())
{
if(Arg_Import)
{
struct MPMessage import;
import.mp_Message.mn_Length=sizeof(import);
import.mp_Message.mn_Length=rp;
import.Command=MPTD_IMPORT;
import.Data=Arg_Import;
PutMsg(&MPSem->PrefsToDoPort,&import);
WaitPort(rp);
}
DeleteMsgPort(rp);
}
}
*/